﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Web;


namespace Service.Impl
{
    public class ImageManager : ManagerBase<Image>, IImageManager
    {

        public Image getLastImageSaved()
        {
            return base.Repos.GetAll<Image>().OrderByDescending(x => x.Id).FirstOrDefault();       
            
        }
    }
}
